<!doctype html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html>
<head>
    <%@ include file="/WEB-INF/views-jsp/include/taglib/taglib.jsp" %>
    <%@ include file="/WEB-INF/views-jsp/include/meta/meta.jsp" %>
    <%@ include file="/WEB-INF/views-jsp/include/link/link.jsp" %>
    <%@ include file="/WEB-INF/views-jsp/include/script/script.jsp" %>
    <link rel="stylesheet" type="text/css" href="${path}/html/js/js-resource/imgPreview/css/style.css"/>
    <script type="text/javascript" src="${path}/html/js/jquery.form.js"></script>
    <script type="text/javascript" src="${path}/html/js/js-jsp/workflow/deployment/addDeployment.js?v=<%out.print(Math.random());%>"></script>
</head>
<body>
<div class="place">
    <span>当前位置：</span>
    <ul class="placeul">
        <li><a href="${path}/deployment/index.do">部署管理</a></li><li><a>添加部署</a></li>
    </ul>
</div>
<form id="deployment_form" class="form" method="post" action="${path}/deployment/addDeployment.do" enctype="multipart/form-data">
    <div class="formbody">
        <div class="formtitle"><span>部署流程文件</span></div>
        <ul class="forminfo">
            <li>
                <label>流程名称：</label>
                <input class="easyui-textbox"  type="text" name="fileName" id="fileName"  data-options="required:true,prompt:'请输入流程定义名称'" missingMessage="流程定义名称'不能为空"  style="width:255px; height: 32px"/>
            </li>
            <li>
                <label>部署文件：</label>
                <input class="easyui-filebox" id="file" name="file" data-options="buttonText:'选择文件', required:true, prompt:'请选择部署流程文件'"  value="" style="width:255px; height: 30px" />
            </li>
        </ul>
    </div>
</form>
<div class="formbody" style="margin-left: 130px">
    <a id="addDeployment" class="easyui-linkbutton c1" style="width:100px; height: 35px">发布</a>
    &nbsp;&nbsp;&nbsp;
    <a href="${path}/deployment/index.do" class="easyui-linkbutton c1" style="width:100px; height: 35px">取消</a>
</div>
</body>
</html>